﻿@model Domain.Entity.NewsArticle

@{
    ViewBag.Title = "Delete";
}

<h2 class="title @Html.GetColor(Request.Cookies["color"])">Delete</h2>

<div id="titlelessItem" >
<div class="item">
    <h3 class="title @Html.GetColor(Request.Cookies["color"])">Are you sure you want to delete this?</h3>
    <fieldset>
        <legend>NewsArticle</legend>

        <div class="display-label">PostedDate</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.PostedDate)
        </div>

        <div class="display-label">Title</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Title)
        </div>

        <div class="display-label">Abstract</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Abstract)
        </div>

        <div class="display-label">Description</div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Description)
        </div>
    </fieldset>
    @using (Html.BeginForm()) {
        <p>
            <input type="submit" value="Delete" class="actionButtons @Html.GetColor(Request.Cookies["color"])" /> |
            @Html.ActionLink("Back to List", "Index", null, new { @class= "actionButtons " + @Html.GetColor(Request.Cookies["color"]) })
        </p>
    }
</div>
</div>